package com.niuwa.p2p.dao.business;


import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.business.DirectProduct;

@MyBatisDao
public interface IDirectProductDao {

	public int addDirectProduct(DirectProduct directProduct);
	
	public int getCountByProjectNo(String projectNo);
	
	/**
	 * 根据产品编号获取产品信息
	 * @param prodCode
	 * @return
	 */
	public DirectProduct selectDirectProdByCode(String prodCode);
	
	
	public void updateDirectProduct(DirectProduct product);
	
}
